<?php 

class BoatRegister {
		
	private $m_boatDAL;
	
	public function __construct ($a_boatDAL){
		$this->m_boatDAL = $a_boatDAL;
	}
	
	public function GetMemberBoat () {
		return $this->m_boatDAL->GetMemberBoats();
	}
	public function AddBoatToMember($a_boatInfo, $a_boatTypeId, $a_memberId, $a_boatLength){
		$this->m_boatDAL->AddBoatToMember($a_boatInfo, $a_boatTypeId, $a_memberId, $a_boatLength);
	}
	
	public function CountBoats($a_memberId) {
		return $this->m_boatDAL->CountBoats($a_memberId);
	}	
	
	public function DeleteBoat($a_memberId) {
		return $this->m_boatDAL->DeleteBoat($a_memberId);
	}
		public function UpdateBoat($a_getBoatInfo, $a_getBoatType, $a_getMemberId, $a_getBoatId, $a_getBoatLength){
		$this->m_boatDAL->UpdateBoat($a_getBoatInfo, $a_getBoatType, $a_getMemberId, $a_getBoatId, $a_getBoatLength);
	}
		
	public function GetBoatTypes (){
		return $this->m_boatDAL->GetBoatTypes();
	}
	
}